import pytest


def setup():
    print("我是setup-----")


@pytest.fixture(autouse=True)
def before():
    print("我是fixture autouse=True")
    return "autouse~~"


@pytest.fixture()
def before222():
    print("我是fixture 没有")
    return "没有没有2222222~~"


@pytest.mark.L5
def testC1(before):
    print("testC1--------%s" % before)


@pytest.mark.L5
def testC2(before222):
    print("testC2--------%s" % before222)


@pytest.mark.L5
def testC3():
    print("testC3--------")


def teardown_module():
    print("teardown_module---------------")


if __name__ == "__main__":
    pytest.main([("test_pytestFixture2.py"), ("-s")])
